import {TagData} from '../../../entity/tag-data.model';
import {Injectable} from '@angular/core';

/**
 *光伏曲线模型
 *
 * @export
 * @interface LimitedPhotovoltaicLoad
 */
@Injectable()
export class LimitedPhotovoltaicLoad {
  farmId: number;
  farmCode: string;
  farmName: string;

  /**
   *功率
   *
   * @type {TagData}
   * @memberof LimitedPhotovoltaicLoad
   */
  powerBinging: TagData;
  powers: any[];
  power: any;
  yesterdayPowers: any[];

  /**
   *温度
   *
   * @type {TagData}
   * @memberof LimitedPhotovoltaicLoad
   */
  temperatureBinging: TagData;
  temperatures: any[];
  temperature: any;
  yesterdayTemperatures: any[];

  /**
   *当前辐射
   *
   * @type {TagData}
   * @memberof LimitedPhotovoltaicLoad
   */
  radiationBinging: TagData;
  radiations: any[];
  radiation: any;
  yesterdayRadiations: any[];

  /**
   *当前气压
   *
   * @type {TagData}
   * @memberof LimitedPhotovoltaicLoad
   */
  pressureBinging: TagData;
  pressures: any[];
  pressure: any;
  yesterdayPressures: any[];

  /**
   *当前降水
   *
   * @type {TagData}
   * @memberof LimitedPhotovoltaicLoad
   */
  precipitationBinging: TagData;
  precipitations: any[];
  precipitation: any;
  yesterdayPrecipitations: any[];

  /**
   *时间
   *
   * @type {Date}
   * @memberof LimitedPhotovoltaicLoad
   */
  time: Date

  constructor() {

  }
}

